<!DOCTYPE html >
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width,initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<meta content="" name="keywords">
<meta content="" name="description">
<!-- 全局-css -->
<link type="text/css" rel="stylesheet" href="./tools/css/basecore.min.css"/>
<!-- 全局-js -->
<script type='text/javascript' src='./tools/js/jquery-2.1.1.js'></script>

<title>视频</title>
<style type="text/css">
.video-js{
  position: fixed;
  width: 100%;
  height: 100% !important;
} 
#example_video{
 position: fixed;
  width: 100%;
  height: 100% !important;
}
</style>
</head>
<body class="bjF8F6F0">
<!-- header_start -->

<!-- header_end   -->
<!-- center_start -->
<div id="example_video"></div>
<div id="list_empty" class="list_empty" style="padding-top: 15%;display: none;">
 <p class="emptycont"><span><font class="tmptytitle">暂无视频</font></span></p>
</div>
<!-- center_end -->   
<!-- 请在这底下写js -->
<!-- 全局-js -->
<script type='text/javascript' src='./tools/js/Dvideo.js'></script>
<script type="text/javascript">
$(function(){ 
	jQuery.extend({
		
		getUrlParam : function(val){
	        var uri = window.location.search;
	        var re = new RegExp("" +val+ "=([^&?]*)", "ig");
	        return ((uri.match(re))?(uri.match(re)[0].substr(val.length+1)):null);
		 }
	})
			  
			 
	/**
	*视频
	*/
	var url=$.getUrlParam("url"),urlimg=$.getUrlParam("urlimg");
	var example_video = new Dvideo ({
		ele: '#example_video',
		title: '',
		showNext: false,// 是否显示播放下一集的提示按钮
		width: '100%',
		height: '100%',
		src: ""+url+"",
		poster:""+urlimg+"",
		autoplay: false,// 是否设置自动播放
		showVideoDefinition :false,//是否显示清晰度的设置
		showPlayBackRate :false,//是否显示语速的设置
		volume:"1",
		showVolume :false,//是否显示音量的控制效果
		onPlaying: function () {//播放
			$("#example_video .dvideoplaybut").hide();
		},
		onPause: function (currentT) {//暂停
			$("#example_video .dvideoplaybut").show();
		}
		//ctrSpeedDuration:"50000000"
	 })
	
	/* var vidieohtml="",url=$.getUrlParam("url"),urlimg=$.getUrlParam("urlimg");
	var example_video=function(codeId){
		vidieohtml='<video id="my-video" class="video-js vjs-big-play-centered" width="100%" height="100%" data-setup="{}" poster="'+urlimg+'" controls preload="auto">'+
				    '<source  -webkit-playsinline="true" src="'+url+'" type="video/mp4" />'+
				    '</video>';
	   $("#example_video").html(vidieohtml);
	}
	var videoid=$.getUrlParam("url");
	if(ChkUtil.isNulCustl(videoid)){
		$("#list_empty").show();
		$("#example_video").hide();
	}else{
		$("#list_empty").hide();
		$("#example_video").show();
		example_video(videoid);
	}  */
})

</script>
</body>
</html>